home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
os2
/
nlsnps.zip
/
nlsIncludeDBCS.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-03
|
329b
|
23 lines
#include <os2.h>
#include "nls.h"
BOOL nlsIncludeDBCS(PUCHAR psz)
{ while (*psz != 0)
{ if (nlsIsDBCS(*psz)) return TRUE;
else psz++;
}
return FALSE;
}
int nlsCountChar(PUCHAR psz)
{ int cChar = 0;
while (*psz != 0)
{ cChar++;
psz = nlsNext(psz);
}
return cChar;
}